const http = uni.$u.http
export default {
  /**
   * 政策配置
   */
    // TODO
    updateMemberInfo: (data) => http.post('/member/' + data.id, data),
    /**
     * 登录
     */
    getMemberInfo: (id) => http.get('/member/' + id),
    /**
     * 业务接口
     */
    genBannerList: () => http.get('/banner/list'),
    getNewsList: () => http.get('/news/list'),
    getProductList: () => http.get('/product/list'),
    getFoodList: () => http.get('/food/list'),
    getCategoryList: () => http.get('/category/list'),
    getChatList: () => http.get('/chat/list'),
}
